package de.g18.treggr.model;

import java.io.Serializable;

public class Benutzer implements Serializable{
	private static final long serialVersionUID = 1338;
	
	private long id;
	private String name;
	private String email;
	private String passwort;
	private Punkt punkt;
	
	public Benutzer(long id, String name, String email, String passwort, Punkt punkt) {
		super();
		this.id = id;
		this.name = name;
		this.email = email;
		this.passwort = passwort;
		this.punkt = punkt;
	}
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public Benutzer(){
		this(0, "","","", new Punkt());
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPasswort() {
		return passwort;
	}
	public void setPasswort(String passwort) {
		this.passwort = passwort;
	}
	public Punkt getPunkt() {
		return punkt;
	}
	public void setPunkt(Punkt punkt) {
		this.punkt = punkt;
	}
}
